Package | hl7.fhir.uv.xver |
Type | StructureMap |
Id | Id |
FHIR Version | R5 |
Source | http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-Quantity2to3.html |
Url | http://hl7.org/fhir/StructureMap/Quantity2to3 |
Version | 0.1.0 |
Status | active |
Date | 2024-02-22T03:16:50+00:00 |
Name | Quantity2to3 |
Title | Quantity Transforms: R2 to R3 |
Experimental | False |
Realm | uv |
Authority | hl7 |
Description | QuantityTransformsR2toR3 |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
/// url = 'http://hl7.org/fhir/StructureMap/Quantity2to3' /// name = 'Quantity2to3' /// title = 'Quantity Transforms: R2 to R3' /// status = 'active' uses "http://hl7.org/fhir/1.0/Quantity" alias QuantityR2 as source uses "http://hl7.org/fhir/3.0/Quantity" alias Quantity as target uses "http://hl7.org/fhir/3.0/Duration" alias Duration as target imports "http://hl7.org/fhir/StructureMap/primitives2to3" imports "http://hl7.org/fhir/StructureMap/Element2to3" group Quantity(source src : QuantityR2, target tgt : Quantity) extends Element <<type+>> { src.value -> tgt.value "Quantity-value"; src.comparator -> tgt.comparator "Quantity-comparator"; src.unit -> tgt.unit "Quantity-unit"; src.system -> tgt.system "Quantity-system"; src.code -> tgt.code "Quantity-code"; } group QuantityToDuration(source src : QuantityR2, target tgt : Duration) extends Element { src.value -> tgt.value "Duration-value"; src.comparator -> tgt.comparator "Duration-comparator"; src.unit -> tgt.unit "Duration-unit"; src.system -> tgt.system "Duration-system"; src.code -> tgt.code "Duration-code"; }
{
"resourceType" : "StructureMap",
"id" : "Quantity2to3",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/Quantity2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'Quantity2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'Quantity Transforms: R2 to R3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/1.0/Quantity<span style=\"color: navy\">" </span><b>alias </b>QuantityR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/Quantity<span style=\"color: navy\">" </span><b>alias </b>Quantity <b>as </b><b>target</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/Duration<span style=\"color: navy\">" </span><b>alias </b>Duration <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span><a href=\"StructureMap-primitives2to3.html\" title=\"Primitive Transforms: R2 to R3\">http://hl7.org/fhir/StructureMap/primitives2to3</a><span style=\"color: navy\">"\r\n</span><b>imports</b><span style=\"color: navy\"> "</span><a href=\"StructureMap-Element2to3.html\" title=\"Period Transforms: R2 to R3\">http://hl7.org/fhir/StructureMap/Element2to3</a><span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>Quantity<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>QuantityR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>Quantity<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.value<span style=\"color: navy\"><b> -> </b></span>tgt.value <i>"Quantity-value"</i><span style=\"color: navy\">;</span>\r\n src.comparator<span style=\"color: navy\"><b> -> </b></span>tgt.comparator <i>"Quantity-comparator"</i><span style=\"color: navy\">;</span>\r\n src.unit<span style=\"color: navy\"><b> -> </b></span>tgt.unit <i>"Quantity-unit"</i><span style=\"color: navy\">;</span>\r\n src.system<span style=\"color: navy\"><b> -> </b></span>tgt.system <i>"Quantity-system"</i><span style=\"color: navy\">;</span>\r\n src.code<span style=\"color: navy\"><b> -> </b></span>tgt.code <i>"Quantity-code"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>QuantityToDuration<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>QuantityR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>Duration<span style=\"color: navy\">)</span><b> extends </b>Element<span style=\"color: navy\"> {\r\n</span> src.value<span style=\"color: navy\"><b> -> </b></span>tgt.value <i>"Duration-value"</i><span style=\"color: navy\">;</span>\r\n src.comparator<span style=\"color: navy\"><b> -> </b></span>tgt.comparator <i>"Duration-comparator"</i><span style=\"color: navy\">;</span>\r\n src.unit<span style=\"color: navy\"><b> -> </b></span>tgt.unit <i>"Duration-unit"</i><span style=\"color: navy\">;</span>\r\n src.system<span style=\"color: navy\"><b> -> </b></span>tgt.system <i>"Duration-system"</i><span style=\"color: navy\">;</span>\r\n src.code<span style=\"color: navy\"><b> -> </b></span>tgt.code <i>"Duration-code"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "fhir"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 1,
"_valueInteger" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft",
"_valueCode" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
}
],
"url" : "http://hl7.org/fhir/StructureMap/Quantity2to3",
"version" : "0.1.0",
"name" : "Quantity2to3",
"title" : "Quantity Transforms: R2 to R3",
"status" : "active",
"date" : "2024-02-22T03:16:50+00:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description" : "QuantityTransformsR2toR3",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/1.0/Quantity",
"mode" : "source",
"alias" : "QuantityR2"
},
{
"url" : "http://hl7.org/fhir/3.0/Quantity",
"mode" : "target",
"alias" : "Quantity"
},
{
"url" : "http://hl7.org/fhir/3.0/Duration",
"mode" : "target",
"alias" : "Duration"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/primitives2to3",
"http://hl7.org/fhir/StructureMap/Element2to3"
],
"group" : [
{
"name" : "Quantity",
"extends" : "Element",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "QuantityR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "Quantity",
"mode" : "target"
}
],
"rule" : [
{
"name" : "Quantity-value",
"source" : [
{
"context" : "src",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "Quantity-comparator",
"source" : [
{
"context" : "src",
"element" : "comparator",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "comparator",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "Quantity-unit",
"source" : [
{
"context" : "src",
"element" : "unit",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "unit",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "Quantity-system",
"source" : [
{
"context" : "src",
"element" : "system",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "system",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "Quantity-code",
"source" : [
{
"context" : "src",
"element" : "code",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "code",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "QuantityToDuration",
"extends" : "Element",
"input" : [
{
"name" : "src",
"type" : "QuantityR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "Duration",
"mode" : "target"
}
],
"rule" : [
{
"name" : "Duration-value",
"source" : [
{
"context" : "src",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "Duration-comparator",
"source" : [
{
"context" : "src",
"element" : "comparator",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "comparator",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "Duration-unit",
"source" : [
{
"context" : "src",
"element" : "unit",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "unit",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "Duration-system",
"source" : [
{
"context" : "src",
"element" : "system",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "system",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "Duration-code",
"source" : [
{
"context" : "src",
"element" : "code",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "code",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
}
]
}
XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.